package org.maitaole.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.List;

public class CartInfo {
    @TableId(type = IdType.AUTO)
    private Integer cartId;

    private String fkCartUserName;

    private Integer cartGoodPrice;

    private TbGood CartGood;

    private List<TbInfoDetail> tbInfoDetailList;

    public CartInfo() {
    }

    public CartInfo(Integer cartId, String fkCartUserName, TbGood cartGood, Integer cartGoodPrice, List<TbInfoDetail> tbInfoDetailList) {
        this.cartId = cartId;
        this.fkCartUserName = fkCartUserName;
        CartGood = cartGood;
        this.cartGoodPrice = cartGoodPrice;
        this.tbInfoDetailList = tbInfoDetailList;
    }

    public Integer getCartId() {
        return cartId;
    }

    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }

    public String getFkCartUserName() {
        return fkCartUserName;
    }

    public void setFkCartUserName(String fkCartUserName) {
        this.fkCartUserName = fkCartUserName;
    }

    public TbGood getCartGood() {
        return CartGood;
    }

    public void setCartGood(TbGood cartGood) {
        CartGood = cartGood;
    }

    public Integer getCartGoodPrice() {
        return cartGoodPrice;
    }

    public void setCartGoodPrice(Integer cartGoodPrice) {
        this.cartGoodPrice = cartGoodPrice;
    }

    public List<TbInfoDetail> getTbInfoDetailList() {
        return tbInfoDetailList;
    }

    public void setTbInfoDetailList(List<TbInfoDetail> tbInfoDetailList) {
        this.tbInfoDetailList = tbInfoDetailList;
    }


}